package com.abstractdemo;

/**
 * @Auther: shiquan
 * @Date: 2024/10/22 - 10 - 22 -10:06
 */
public class Frog extends Animal{
    public Frog() {
    }

    public Frog(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("青蛙吃虫子");
    }
}
